<!DOCTYPE html>
<html lang="en">

<head>˛
    <meta charset="UTF-8">
    <title>Rasa Chat Bot</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="https://cdn.bootcss.com/socket.io/2.2.0/socket.io.js"></script>
    <script src="webchat.js"></script>
</head>

<body>
    <div id="webchat"></div>
</body>

<script>
    WebChat.default.init({
        selector: "#webchat",
        initPayload: "你好",
        interval: 1000, // 1000 ms between each message
        customData: {
            "userId": "1"
        }, // arbitrary custom data. Stay minimal as this will be added to the socket
        socketUrl: "http://127.0.0.1:5002",
        title: "智障机器人的日常",
        subtitle: "🐩",
        profileAvatar: "robotic.png",
        showCloseButton: true,
        fullScreenMode: false
    })
</script>

</html>